﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MegavaniaX.Messaging.Events
{
    public struct CameraZoomEvent : IMegavaniaEvent
    {
        private MegavaniaEventType _eventType;
        private string[] _listenerNames;

        public MegavaniaEventType EventType { get { return _eventType; } private set { _eventType = value; } }
        public string[] ListenerNames { get { return _listenerNames; } private set { _listenerNames = value; } }
        public TimeSpan ElapsedTime;
        public float ZoomFactor;

        public CameraZoomEvent(MegavaniaEventType type, TimeSpan elapsedTime, float zoomFactor, params string[] listenerNames)
        {
            _eventType = type;
            _listenerNames = listenerNames;
            ZoomFactor = zoomFactor;
            ElapsedTime = elapsedTime;
        }
    }
}
